package com.excilys.formation.project.webservices;

import java.util.List;

import javax.jws.WebParam;
import javax.jws.WebService;

import com.excilys.formation.project.dtos.ClientDTO;
import com.excilys.formation.project.dtos.CompteDTO;
import com.excilys.formation.project.dtos.OperationDTO;
import com.excilys.formation.project.dtos.VirementDTO;

@WebService
public interface IWebService {

    ClientDTO getClientByLogin(@WebParam(name = "login") String login);

    List<CompteDTO> getListeComptes(@WebParam(name = "login") String login);

    List<OperationDTO> getListeOperationByCompte(@WebParam(name = "numero") String numero);

    VirementDTO nouveauVirement(@WebParam(name = "emetteur") String numeroEmetteur, @WebParam(name = "recepteur") String numeroRecepteur,
            @WebParam(name = "montant") double montant);

}
